Skip to content

Fixed logging of sensitive information and potential SQL injections #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

maximmasiutin
Copy link
Contributor

@petoju
Copy link
Owner

petoju commented Apr 27, 2025

FYI this is not fixing SQL injections.
It's because we build authStm from user-supplied string and the same applies to tls settings.

Or are you doing it just because you'd like to support special types of passwords? I'm not against that, it's just that terraform is not very good when you want to provide binary data.

@maximmasiutin
Copy link
Contributor Author

I just wanted to avoid displaying password in the debug log. We may not replace the parameters, but we should avoid having the password be displayed in the log.

@petoju petoju merged commit ba4dca1 into petoju:master Apr 29, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants